﻿using MediatR;
using Warehouse.ErrorCode;

namespace Warehouse.Api.Write.AllCation.Command.Checksheet
{
    public class AddChecksheetCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 盘点单号 盘点主要是根据订单单号进行统计或查询
        /// </summary>
        public string CheckId { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string AssociatedOrderNumber { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string PreparedName { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime PreparedTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Bacth { get; set; }
        /// <summary>
        /// 单位指的是计量单位，比如：个、盒、箱等
        /// </summary>
        public int Monad { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public int CurrentstorageId { get; set; }
    }
}
